// import com.alibaba.druid.sql.ast.SQLName;
// import com.alibaba.druid.sql.dialect.mysql.ast.FullTextType;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

#include "MysqlShowCreateFullTextStatement.h"
#include "../../../../ast/SQLName.h"
#include "../FullTextType.h"
#include "../../visitor/MySqlASTVisitor.h"

SQLName_ptr MysqlShowCreateFullTextStatement::getName()
{
  return name;
}

void MysqlShowCreateFullTextStatement::setName(SQLName_ptr name)
{
  if (name != nullptr)
  {
    name->setParent(SharedObject(MysqlShowCreateFullTextStatement));
  }
  this->name = name;
}

FullTextType_ptr MysqlShowCreateFullTextStatement::getType()
{
  return type;
}

void MysqlShowCreateFullTextStatement::setType(FullTextType_ptr type)
{
  this->type = type;
}

// @Override
void MysqlShowCreateFullTextStatement::accept0(MySqlASTVisitor_ptr visitor)
{
  visitor->visit(SharedObject(MysqlShowCreateFullTextStatement));
  visitor->endVisit(SharedObject(MysqlShowCreateFullTextStatement));
}
